import { useUser } from '@/store/store';
const { userDict } = useUser();
export default {
    title: '请选择员工',
    params: {
        range: 1,
    },
    columns: [
        {
            label: '姓名',
            prop: 'userName',
            minWidth: 120,
        },
        {
            label: '手机号',
            prop: 'phone',
            minWidth: 120,
        },
    ],
    selectedColumns: [
        {
            label: '姓名',
            prop: 'userName',
            minWidth: 80,
        },
        {
            label: '手机号码',
            prop: 'phone',
            minWidth: 80,
        },
    ],
    formLayout: [
        {
            formType: 'input',
            type: 'text',
            span: 5,
            value: 'userName',
            placeholder: '姓名',
            prop: 'userName',
            clearable: true,
        },
        {
            formType: 'input',
            type: 'text',
            span: 5,
            value: 'phone',
            placeholder: '手机号',
            prop: 'phone',
            clearable: true,
        },
    ],
    url: '/api-saas-psc/app/sysUserPark/pageQuery',
    modelKey: 'userCode',
    modelText: 'userName',
    method: 'POST',
    selectType: 'checkbox',
    width: '500px',
};
